Skip to main content

Exists in Collection

The "Exists In Collection" activity in AutomatR allows you to check whether a specified item exists within a collection. This activity is valuable for validating the presence or absence of a particular element in lists, arrays, or other collection types during your automation workflow.

NameDescription
Misc
CollectionSpecifies the target collection in which you want to check for the existence of the item. Supports a variable of type List, Array, or other collection types.
Display NameThis property allows you to customize the display name of the activity within the workflow.
ItemSpecifies the element or value that you want to check for in the collection. Supports a variable of any data type.
ResultCaptures the result of the "Exists In Collection" operation, indicating whether the item is found in the collection. Supports a boolean variable.
Type ArgumentDefines the data type of the elements in the collection. Options include Boolean, Int32, String, Object, Array of Types, and Browse for Types (allowing the user to select a .NET Type from the browse list).

Effectively configuring these properties enables you to check for the existence of a specific item within a collection, providing a robust mechanism for data validation and decision-making in your AutomatR automation processes.